package com.spa.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

//服务生产者的服务名
@Component
@FeignClient(value = "spa-cloud-admin")
//@ConditionalOnNotCurrentApplication(name="${service.test1.name}")
public interface FeignNacosClient {

	
	@GetMapping(value = "/admin/hello")
    String sayHello();
}
